#include "mytcpserver.h"

MyTcpSever::MyTcpSever(QObject *parent) : QTcpServer(parent)
{

}

void MyTcpSever::incomingConnection(qintptr socketDescriptor)
{
    //将文件描述符发送出去
    emit newClient(socketDescriptor);

}
